# 返回值练习
def test1():
    print('start')
    name = 'yl'
    age = '18'
    print('end')
    return name, age


result = test1()
print(result)


# 返回值练习2  在需要对返回结果单独处理时
def test2():
    print('start')
    name = 'yl'
    age = '18'
    print('end')
    return (name, age)


name, age = test2()  # test1是一个元组,把第一个传递给name 第二个传递给age
print(name)
print(age)
